import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入 ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/styles/index.scss";//全局样式
import "./permission"; // 路由拦截
//引入中文模块
import local from "element-ui/lib/locale/lang/zh-CN";
Vue.use(ElementUI, {
  local
});
//引入 nprogress 样式
import "nprogress/nprogress.css"
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')